package bdqn.com.cui.service.impl;

import bdqn.com.cui.dao.RecordDao;
import bdqn.com.cui.dao.impl.RecordDaoimpl;
import bdqn.com.cui.pojo.Record;
import bdqn.com.cui.service.RecordService;

import java.util.List;

public class RecordserviceImpl implements RecordService {
        RecordDao recordDao=new RecordDaoimpl();
    @Override
    public List<Record> getsenect(int form, int page) {
        return recordDao.getsenect(form,page);
    }

    @Override
    public int getcount() {
        return recordDao.getcount();
    }

    @Override
    public List<Record> getidserent(String id) {
        return recordDao.getidserent(id);
    }

    @Override
    public int delete(String id) {
        return recordDao.delete(id);
    }

    @Override
    public int update(Record record) {
        return recordDao.update(record);
    }

    @Override
    public int Typeupdate(String type, String tj) {
        return 0;
    }
}
